import Vue from 'vue'
import Router from 'vue-router'

import NotFound from '@/pages/errorPage/404'
import Forbidden from '@/pages/errorPage/403'
import Statistical from '@/pages/statistical/index'

Vue.use(Router)

/* 初始路由 */
export default new Router({
    routes: [
        {
            path: '/statistical',
            component: Statistical,
        },
        {
            path: '/403',
            component: Forbidden
        },
        {
            path: '*',
            component: NotFound
        }
    ]
})